<template>
  <div class="page-tools">
    <div class="container">
      <!-- 顶部 - 左侧记录 -->
      <div class="left">
        <!-- #1b95e4 -->
        <i class="el-icon-warning">
          <slot name="left" />
        </i>
      </div>
      <!-- 顶部 - 右侧按钮 -->
      <div class="right">
        <slot name="right">
          1
        </slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'PageTools',
  data() {
    return {

    }
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 2px 2px 10px 2px rgba(58, 58, 58, 0.1);
  .left {
    padding: 8px;
    border-radius: 4px;
    border: 2px solid #d0e4f0;
    background-color: #e2f7fe;
    i.el-icon-warning {
      color: #1b95e4;
    }
  }
  .right {

  }
}
</style>
